<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../FusionCharts.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>   
   <head>   
   		<script src="../js/jquery-1.9.1.js"></script>
   		<script src="../chart/script/FusionCharts.js">
</script>
      <title>数据分析平台</title>   
   </head>   
  <BODY> 
<table width="98%" cellpadding="0" cellspacing="0" border="0" align="center" style="padding-top: 15px">
            <tr>
                    <td align="center">
                            <div id="chartdiv" align="center"></div>
                            <script type="text/javascript">
                                     function myJs(text){
                                          alert(text);
                                      }
                                     var chart = new FusionCharts("../chart/swf/Column3D.swf","ChartId","100%","600");
                                    //chart.setDataURL(escape("column3DChart!initColumn3D.action"));
                                    $.ajax({
                                            url:'initColumn3D!initColumn3D.action',
                                            type:'post',
                                            dataType:'text',
                                            async:false,
                                            error:function(){},
                                            success:function(data){
                                                    chart.setDataXML(data);
                                            }
                                    });
                                    chart.render("chartdiv");
                            </script>
                    </td>
            </tr>
    </table>
</BODY> 
</html>